package com.hnkywl.sts.entity.xsgl;

import com.hnkywl.sts.entity.BaseEntity;
import org.hibernate.annotations.Where;

import javax.persistence.*;

/**
 * 说明：挂单资源池
 * 包:        com.hnkywl.sts.entity.xsgl
 * 类描述:    卡号
 * 修改备注: [说明本次修改内容]
 * 版本:        [v1.0]
 */
@Entity
@Table(name = "T_BIZ_GD")
@Where(clause = "deleted!='1'")
public class Gd extends BaseEntity {
    @Id
    @SequenceGenerator(name = "seqGd", allocationSize = 1, sequenceName = "SEQ_BIZ_GD")
    @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "seqGd")
    private Long id;

    /**
     * 挂单资源唯一号
     */
    private String resource_serial_number;

    /**
     * 采购合同号
     */
    private String purchase_contract_no;

    /**
     * 生产合同号
     */
    private String production_contract_no;

    private String guomao_resource_from;

    /**
     * 是否竞价资源(0否  1是 2是赎货采购单）
     */
    private String isCompetiveResource;

    /**
     * 物资来源 2:仓储，3：国贸
     */
    private String stander_from;

    /**
     * 材料号,捆包号
     */
    private String matNo;

    /**
     * 工厂
     */
    private String factoryId;

    /**
     * 包号
     */
    private String packageId;

    /**
     * 产品码
     */
    private String pc;

    /**
     * 最终用途
     */
    private String apn;

    /**
     * 品名
     */
    private String prodDesc;

    /**
     * 产品分类，如建筑钢材/热轧带肋钢筋 物资的第三类别
     */
    private String cate;

    /**
     * 材质
     */
    private String material;

    /**
     * 规格
     */
    private String spec;

    /**
     * 产地
     */
    private String brand;


    /**
     * 仓库
     */
    private String warehouse;

    /**
     * 计重方式
     */
    private String weightMethod;

    /**
     * 重量单位
     */
    private String weight;


    /**
     * 挂单数量
     */
    private String measureCount;

    /**
     * 数量单位
     */
    private String unit;

    /**
     * 表面缺陷
     */
    private String layerDefect;

    /**
     * 单件重量
     */
    private String measure;

    /**
     * 总重量
     */
    private String totalMeasure;


    /**
     * 销售底价，等同挂牌价
     */
    private String price;

    /**
     * 生成日期
     */
    private String productionDate;

    /**
     * 钢材标准
     */
    private String standard;

    /**
     * 销售地区
     */
    private String region;

    /**
     * 备注
     */
    private String remark;

    /**
     * 资源状态 0:已保存,1：已挂单,2：已撤销,3:已销售
     *
     * @return
     */
    private String zyzt;

    /**
     * 卖家
     */
    private String sellerName;

    public String getSellerName() {
        return sellerName;
    }

    public void setSellerName(String sellerName) {
        this.sellerName = sellerName;
    }

    public String getWeight() {
        return weight;
    }

    public void setWeight(String weight) {
        this.weight = weight;
    }

    public String getIsCompetiveResource() {
        return isCompetiveResource;
    }

    public void setIsCompetiveResource(String isCompetiveResource) {
        this.isCompetiveResource = isCompetiveResource;
    }

    public String getStander_from() {
        return stander_from;
    }

    public void setStander_from(String stander_from) {
        this.stander_from = stander_from;
    }

    public String getPurchase_contract_no() {
        return purchase_contract_no;
    }

    public void setPurchase_contract_no(String purchase_contract_no) {
        this.purchase_contract_no = purchase_contract_no;
    }

    public String getProduction_contract_no() {
        return production_contract_no;
    }

    public void setProduction_contract_no(String production_contract_no) {
        this.production_contract_no = production_contract_no;
    }

    public String getGuomao_resource_from() {
        return guomao_resource_from;
    }

    public void setGuomao_resource_from(String guomao_resource_from) {
        this.guomao_resource_from = guomao_resource_from;
    }

    public String getRegion() {
        return region;
    }

    public void setRegion(String region) {
        this.region = region;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getLayerDefect() {
        return layerDefect;
    }

    public void setLayerDefect(String layerDefect) {
        this.layerDefect = layerDefect;
    }

    public String getResource_serial_number() {
        return resource_serial_number;
    }

    public void setResource_serial_number(String resource_serial_number) {
        this.resource_serial_number = resource_serial_number;
    }

    public String getMatNo() {
        return matNo;
    }

    public void setMatNo(String matNo) {
        this.matNo = matNo;
    }

    public String getFactoryId() {
        return factoryId;
    }

    public void setFactoryId(String factoryId) {
        this.factoryId = factoryId;
    }

    public String getPackageId() {
        return packageId;
    }

    public void setPackageId(String packageId) {
        this.packageId = packageId;
    }

    public String getPc() {
        return pc;
    }

    public void setPc(String pc) {
        this.pc = pc;
    }

    public String getApn() {
        return apn;
    }

    public void setApn(String apn) {
        this.apn = apn;
    }

    public String getProdDesc() {
        return prodDesc;
    }

    public void setProdDesc(String prodDesc) {
        this.prodDesc = prodDesc;
    }

    public String getCate() {
        return cate;
    }

    public void setCate(String cate) {
        this.cate = cate;
    }

    public String getMaterial() {
        return material;
    }

    public void setMaterial(String material) {
        this.material = material;
    }

    public String getSpec() {
        return spec;
    }

    public void setSpec(String spec) {
        this.spec = spec;
    }

    public String getBrand() {
        return brand;
    }

    public void setBrand(String brand) {
        this.brand = brand;
    }

    public String getWarehouse() {
        return warehouse;
    }

    public void setWarehouse(String warehouse) {
        this.warehouse = warehouse;
    }

    public String getWeightMethod() {
        return weightMethod;
    }

    public void setWeightMethod(String weightMethod) {
        this.weightMethod = weightMethod;
    }

    public String getMeasureCount() {
        return measureCount;
    }

    public void setMeasureCount(String measureCount) {
        this.measureCount = measureCount;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public String getMeasure() {
        return measure;
    }

    public void setMeasure(String measure) {
        this.measure = measure;
    }

    public String getTotalMeasure() {
        return totalMeasure;
    }

    public void setTotalMeasure(String totalMeasure) {
        this.totalMeasure = totalMeasure;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getProductionDate() {
        return productionDate;
    }

    public void setProductionDate(String productionDate) {
        this.productionDate = productionDate;
    }

    public String getStandard() {
        return standard;
    }

    public void setStandard(String standard) {
        this.standard = standard;
    }

    public String getZyzt() {
        return zyzt;
    }

    public void setZyzt(String zyzt) {
        this.zyzt = zyzt;
    }
}
